﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CLab.Common.Constantes;
using CLab.Common.View.Utils.Extensions;
using CLab.Base;

namespace CLab.PagAdminLab
{
    public partial class RecepcionEstudio : PageBase
    {
        protected void Page_Init(object sender, EventArgs e)
        {
            IdItem = 2;
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                LlenarCombo();
            }
        }

        protected void Page_LoadComplete(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                cmbEstudios.ControlComboBox.Focus();
            }
        }

        private void LlenarCombo()
        {
            cmbEstudios.ObtenEstudios(SessionLaboratorio.IdLaboratorio, true, true);
        }
    }
}